package com.li.sssp.cp.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class GameData {

	private Integer id;	//	自增
	private int GameNumber;	//	比赛编号
	private Date BeginDate;	//	比赛开始时间
	private Date BetDate;	//	下注时间
	private String LeagueName;	//	赛事名称
	private String HomeName; 	//	主队名称
	private int HomeNumber;	//	主队排名
	private int GusetName;	//	客队名称
	private int GuestNameNumber;	//	客队排名
	private String sp;	//	赛事sp值
	private Double HomeE; //	主E
	private Double TieE;	//	平E
	private Double GuestE;	//	客E
	private String LeadingName;	// 主导队
	private String LeadingE;	//	主导E
	private String  LeadingEdiff;	//	主导E差
	private String TieEdiff;	//	平差
	private String GusetEdiff;	//	客差
	private String LeadingNoEiff;	//	非主差
	@GeneratedValue
	@Id
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public int getGameNumber() {
		return GameNumber;
	}
	public void setGameNumber(int gameNumber) {
		GameNumber = gameNumber;
	}
	public Date getBeginDate() {
		return BeginDate;
	}
	public void setBeginDate(Date beginDate) {
		BeginDate = beginDate;
	}
	public Date getBetDate() {
		return BetDate;
	}
	public void setBetDate(Date betDate) {
		BetDate = betDate;
	}
	public String getLeagueName() {
		return LeagueName;
	}
	public void setLeagueName(String leagueName) {
		LeagueName = leagueName;
	}
	public String getHomeName() {
		return HomeName;
	}
	public void setHomeName(String homeName) {
		HomeName = homeName;
	}
	public int getHomeNumber() {
		return HomeNumber;
	}
	public void setHomeNumber(int homeNumber) {
		HomeNumber = homeNumber;
	}
	public int getGusetName() {
		return GusetName;
	}
	public void setGusetName(int gusetName) {
		GusetName = gusetName;
	}
	public int getGuestNameNumber() {
		return GuestNameNumber;
	}
	public void setGuestNameNumber(int guestNameNumber) {
		GuestNameNumber = guestNameNumber;
	}
	public String getSp() {
		return sp;
	}
	public void setSp(String sp) {
		this.sp = sp;
	}
	public Double getHomeE() {
		return HomeE;
	}
	public void setHomeE(Double homeE) {
		HomeE = homeE;
	}
	public Double getTieE() {
		return TieE;
	}
	public void setTieE(Double tieE) {
		TieE = tieE;
	}
	public Double getGuestE() {
		return GuestE;
	}
	public void setGuestE(Double guestE) {
		GuestE = guestE;
	}
	public String getLeadingName() {
		return LeadingName;
	}
	public void setLeadingName(String leadingName) {
		LeadingName = leadingName;
	}
	public String getLeadingE() {
		return LeadingE;
	}
	public void setLeadingE(String leadingE) {
		LeadingE = leadingE;
	}
	public String getLeadingEdiff() {
		return LeadingEdiff;
	}
	public void setLeadingEdiff(String leadingEdiff) {
		LeadingEdiff = leadingEdiff;
	}
	public String getTieEdiff() {
		return TieEdiff;
	}
	public void setTieEdiff(String tieEdiff) {
		TieEdiff = tieEdiff;
	}
	public String getGusetEdiff() {
		return GusetEdiff;
	}
	public void setGusetEdiff(String gusetEdiff) {
		GusetEdiff = gusetEdiff;
	}
	public String getLeadingNoEiff() {
		return LeadingNoEiff;
	}
	public void setLeadingNoEiff(String leadingNoEiff) {
		LeadingNoEiff = leadingNoEiff;
	}
	public GameData(Integer id, int gameNumber, Date beginDate, Date betDate, String leagueName, String homeName,
			int homeNumber, int gusetName, int guestNameNumber, String sp, Double homeE, Double tieE, Double guestE,
			String leadingName, String leadingE, String leadingEdiff, String tieEdiff, String gusetEdiff,
			String leadingNoEiff) {
		super();
		this.id = id;
		GameNumber = gameNumber;
		BeginDate = beginDate;
		BetDate = betDate;
		LeagueName = leagueName;
		HomeName = homeName;
		HomeNumber = homeNumber;
		GusetName = gusetName;
		GuestNameNumber = guestNameNumber;
		this.sp = sp;
		HomeE = homeE;
		TieE = tieE;
		GuestE = guestE;
		LeadingName = leadingName;
		LeadingE = leadingE;
		LeadingEdiff = leadingEdiff;
		TieEdiff = tieEdiff;
		GusetEdiff = gusetEdiff;
		LeadingNoEiff = leadingNoEiff;
	}
	public GameData() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "GameData [id=" + id + ", GameNumber=" + GameNumber + ", BeginDate=" + BeginDate + ", BetDate=" + BetDate
				+ ", LeagueName=" + LeagueName + ", HomeName=" + HomeName + ", HomeNumber=" + HomeNumber
				+ ", GusetName=" + GusetName + ", GuestNameNumber=" + GuestNameNumber + ", sp=" + sp + ", HomeE="
				+ HomeE + ", TieE=" + TieE + ", GuestE=" + GuestE + ", LeadingName=" + LeadingName + ", LeadingE="
				+ LeadingE + ", LeadingEdiff=" + LeadingEdiff + ", TieEdiff=" + TieEdiff + ", GusetEdiff=" + GusetEdiff
				+ ", LeadingNoEiff=" + LeadingNoEiff + "]";
	}
	
	
}
